package cn.deepmax.spring.cloud.system.turbine;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

@SpringBootApplication
@EnableEurekaClient
@EnableTurbine
@EnableHystrixDashboard

public class TurbineClusterApplication {
    public static final Logger log = LoggerFactory.getLogger(TurbineClusterApplication.class);

    public static void main(String[] args) {
        log.info("turbine cluster starting.");
        SpringApplication.run(TurbineClusterApplication.class, args);

    }
}
